﻿#pragma once


#ifdef DM_ENABLE_ASSERTS
	#define DM_ASSERT(x, ...)  {if (!(x)) {DM_ERROR("Assertion Failed: {0}", __VA_ARGS__);__debugbreak(); } }
	#define DM_CORE_ASSERT(x, ...)  {if (!(x)) {DM_CORE_ERROR("Assertion Failed: {0}", __VA_ARGS__);__debugbreak(); } }
#else
	#define DM_ASSERT(x, ...) 
	#define DM_CORE_ASSERT(x, ...)
#endif // DM_ENABLE_ASSERTS